
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@include file="/static/common/common.jsp"%>
    <script src="/static/js/system/layout/resourcePool.js"></script>
    <title>客户资源池</title>
</head>
<body>
<table id="resourcePool_dataGrid"></table>

<div id="resourcePool_toolbar">
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="show" onclick="show()">查看</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="reload">刷新</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="designate">指派客户</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="accept">接收客户</a>
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="abandon">丢单</a>
    关键字:
    <input class="easyui-textbox" style="width:120px" prompt="客户姓名/电话/QQ" id="keyword">
    建档时间:
    <input class="easyui-datebox" style="width:120px" editable="false" id="createTimeBegin">
    -
    <input class="easyui-datebox" style="width:120px" editable="false" id="createTimeEnd">
    状态:
    <input class="easyui-combobox " style="width:150px" id="state"
           data-options="data:[{value:3,text:'资源池中'},{value:5,text:'丢单'}]
                                           ,valueField:'value', textField:'text',panelHeight:'auto'" >
    <a href="#" class="easyui-linkbutton" data-options="plain:true" data-cmd="query">搜索</a>
</div>


<%--资源池查看客户对话框--%>
<div id="resourcePool_dialog">
    <form id="resourcePool_form" method="POST" style="padding:20px">
        <input id="resourcePoolId" type="hidden" name="id">
        <fieldset>
            <legend>基本信息</legend>
            <table align="center">
                <tr>
                    <td>姓名:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="name"></td>
                    <td>年龄:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="age"></td>
                    <td>性别:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="gender"
                               data-options="data:[{value:'男',text:'男'},{value:'女',text:'女'}]
                                            ,valueField:'value', textField:'text',panelHeight:'auto'" >
                    </td>
                </tr>
               <tr>
                    <td>电话:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="phone" ></td>
                    <td>微信:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="weixin" ></td>
                    <td>QQ:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="qq" ></td>
                </tr>
                <tr>
                    <td>邮箱:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="email" ></td>
                    <td>意向校区:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="intentionCampus.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=12',
                               valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>意向班级:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="intentionClass.id"
                               data-options="url:'/grade/queryAllGrade',
                               valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                </tr>
                <tr>
                   <td>意向程度:</td>
                   <td><input class="easyui-combobox com" style="width:150px" editable="false" name="intentionDegree.id"
                              data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=16',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                   </td>
                   <td>营销人员:</td>
                   <td><input class="easyui-combobox com" style="width:150px" editable="false" name="marketingPerson.id"
                              data-options="url:'/employee/queryEmployeeListByDepartmentId?id=3',
                              valueField:'id', textField:'realname',panelHeight:'auto'" >
                   </td>
                   <td>录入人:</td>
                   <td><input class="easyui-textbox" style="width:150px" editable="false" prompt="录入人不用填" name="inputPerson" >
                   </td>
               </tr>
               <tr>
                   <td>建档日期:</td>
                   <td><input class="easyui-datebox date" style="width:150px" editable="false" name="createTime"></td>
                   <td>录入时间:</td>
                   <td><input class="easyui-datebox" style="width:150px" editable="false" readonly="true" prompt="录入时间不用填" name="inputTime"></td>
                   <td>客户来源:</td>
                   <td><input class="easyui-combobox com" style="width:150px" editable="false" name="source.id"
                              data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=14',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                   </td>
               </tr>
                <tr>
                   <td>学校:</td>
                   <td><input class="easyui-textbox text" style="width:150px" name="school"></td>
                   <td>学校客户:</td>
                   <td><input class="easyui-combobox com" style="width:150px" name="schoolId.id"
                              data-options="url:'/bigClient/queryAllBigClient',
                              valueField:'id', textField:'schoolName',panelHeight:'auto'" >
                   </td>
                    <td>学历:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="educationBackground.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=10',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                </tr>
                <tr>
                    <td>专业:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="major" >
                    <td>入学时间:</td>
                    <td><input class="easyui-datebox date" style="width:150px" editable="false" name="enrollmentTime"></td>
                    <td>工作年限:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="jobTime">
                    </td>
                </tr>
                <tr>
                    <td>介绍人:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="introducer"></td>
                    <td>电脑:</td>
                    <td><input class="easyui-combobox com" style="width:150px" name="hasComputer"
                               data-options="data:[{value:'自己携带',text:'自己携带'},{value:'学校提供',text:'学校提供'}]
                                           ,valueField:'value', textField:'text',panelHeight:'auto'" >
                    </td>
                    <td>状态:</td>
                    <td><input class="easyui-combobox" style="width:150px" name="state" readonly="true" prompt="状态不用填"
                              data-options="data:[{value:1,text:'未跟踪'},{value:2,text:'跟踪中'},{value:3,text:'资源池中'},{value:4,text:'正式学员'}]
                                           ,valueField:'value', textField:'text',panelHeight:'auto'" >
                    </td>
                </tr>
        </table>
    </fieldset>
    <fieldset>
        <legend>其它信息</legend>
        <table align="center">
            <tr>
                <td>关注问题:</td>
                <td><input class="easyui-textbox text" style="width:600px; height:100px;" name="problemFocused"></td>
            </tr>
            <tr>
                <td>备注:</td>
                <td><input class="easyui-textbox text" style="width:600px; height:100px;" name="remark"></td>
            </tr>
        </table>
    </fieldset>
    </form>
</div>
<%--资源池查看客户对话框--底部按钮--%>
<div id="resourcePool_dialog_butten">
    <a href="#" class="easyui-linkbutton" data-cmd="save" >保存</a>
    <a href="#" class="easyui-linkbutton" data-cmd="close_dialog" >关闭</a>
</div>



<%--资源池指派客户对话框--%>

<div id="resourcePool_designate_dialog">
    <form id="resourcePool_designate_form" method="POST" style="padding:20px">
        <input type="hidden" name="id">
        <fieldset>
            <legend>客户基本信息</legend>
            <table align="center">
                <tr>
                    <td>姓名:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="name"></td>
                    <td>年龄:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="age"></td>
                    <td>性别:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="gender"
                               data-options="data:[{value:'男',text:'男'},{value:'女',text:'女'}]
                                            ,valueField:'value', textField:'text',panelHeight:'auto'" >
                    </td>
                </tr>
                <tr>
                    <td>电话:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="phone" ></td>
                    <td>微信:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="weixin" ></td>
                    <td>QQ:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="qq" ></td>
                </tr>
                <tr>
                    <td>邮箱:</td>
                    <td><input class="easyui-textbox text" style="width:150px" name="email" ></td>
                    <td>意向校区:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="intentionCampus.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=12',
                               valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>意向班级:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="intentionClass.id"
                               data-options="url:'/grade/queryAllGrade',
                               valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                </tr>
                <tr>
                    <td>意向程度:</td>
                    <td><input class="easyui-combobox com" style="width:150px" editable="false" name="intentionDegree.id"
                               data-options="url:'/systemDictionary/queryDictionaryBillByParentId?pId=16',
                              valueField:'id', textField:'name',panelHeight:'auto'" >
                    </td>
                    <td>建档日期:</td>
                    <td><input class="easyui-datebox date" style="width:150px" editable="false" name="createTime"></td>
                    <td>录入时间:</td>
                    <td><input class="easyui-datebox" style="width:150px" editable="false" readonly="true" prompt="录入时间不用填" name="inputTime"></td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>其它信息</legend>
            <table align="center">
                <tr>
                    <td>备注:</td>
                    <td><input class="easyui-textbox" style="width:600px; height:100px;" name="remark"></td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <legend>指派</legend>
            <table align="center">
                <tr>
                    <td>指派员工:</td>
                    <td><input class="easyui-combobox" style="width:150px; height:30px;" editable="false" name="marketingPerson.id"
                               data-options="url:'/employee/queryEmployeeListByDepartmentId?id=3',
                              valueField:'id', textField:'realname',panelHeight:'auto'" >
                    </td>
                </tr>
            </table>
        </fieldset>
    </form>
</div>


<%--资源池指派客户对话框--底部按钮--%>
<div id="resourcePool_designate_dialog_butten">
    <a href="#" class="easyui-linkbutton" data-cmd="designate_save" >指派</a>
    <a href="#" class="easyui-linkbutton" data-cmd="designate_close_dialog" >关闭</a>
</div>

</body>
</html>
